package org.example.factory;

import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Description:
 * @Date: 2025/8/6 16:39
 */
@Component
public class WebOutcomeTypeFactory extends DockerFileTypeFactory{
    @Override
    public String getDockerFileType() {
        return "outcome";
    }

    @Override
    public String getDockerFilePath() {
        return System.getProperty("user.dir") + "/docker/web/outcome/dockerfile";
    }

    @Override
    public String getImageName() {
        return "ddm_outcome";
    }

    @Override
    public Map<String, String> dealWithBuildArgMap(Map<String, Object> params) {
        return (Map<String, String>) params.get("buildArgMap");
    }
}
